/*
 * N900Summary.h
 *
 *  Created on: Aug 30, 2016
 *      Author: ubuntu
 */

#ifndef N900_N900SUMMARY_H_
#define N900_N900SUMMARY_H_

#include "N900Parse.h"
#include "../Summary.h"
#include <mysql++/mysql++.h>

using namespace mysqlpp;

class N900Summary : public Summary {
public:
	N900Summary();
	virtual ~N900Summary();


	virtual void getBuf(unsigned char *buf, size_t len);
	virtual void parse();
	virtual void writeDB(Connection *);
	virtual void createTB(Connection *);

protected:

private:
	unsigned char *m_pbuf;
	size_t m_len;
	struct n900_msg msg;
};



#endif /* N900_N900SUMMARY_H_ */
